package com.gxa.order.param;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.sql.Timestamp;

/**
 * @author htt
 * @create 2021-05-17
 * project overview
 */
@Data
public class PastLikeParam {

    // 开始时间
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp startTime;
    // 结束时间
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp endTime;
    // 目的地
    private String place;
    // 状态
    private Integer status;

    /**
     * 当前页码
     */
    @ApiModelProperty(value = "页码")
    private Integer pageNum = 1;
    /**
     * 页容量
     */
    @ApiModelProperty(value = "当前页面数")
    private Integer pageSize = 5;
}
